package com.yao2san.simcasclient.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@ConfigurationProperties(prefix = "sim.cas.server")
@EnableConfigurationProperties(ServerConfig.class)
@Data
public class ServerConfig {

    private String host;
    private int port;
    private String prefix;
    private String loginUrl;
    private int connectTimeout = 3000;
    private int retryTimes = 3;
}
